/*
 * @Author: GL
 * @Date: 2022-12-25 21:17:22
 * @LastEditors: GL
 * @LastEditTime: 2023-04-02 23:11:25
 * @Description: 商品收藏
 */
const express = require('express')

const collectData = require('../router_handler/collect')
// 创建路由实例
const router = express.Router()
// 获取信息收藏列表
router.get('/collist',collectData.collectList)
// 商品信息收藏
router.post('/addgoods',collectData.addCollect)
// 移除收藏
router.get('/removegoods/:id',collectData.removeCollect)

module.exports = router
